//
// Created by Administrator on 2022/2/4.
//

#ifndef CPP_LEARNING_LISTNODE_H
#define CPP_LEARNING_LISTNODE_H
struct ListNode {
    int val;
    ListNode *next;
    ListNode() : val(0), next(nullptr) {}
    ListNode(int x) : val(x), next(nullptr) {}
    ListNode(int x, ListNode *next) : val(x), next(next) {}
};
#endif //CPP_LEARNING_LISTNODE_H
